package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 龙头库对象 stock_lt
 * 
 * @author ruoyi
 * @date 2024-02-26
 */
public class StockLt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键,年月日+代码 */
    private Long recordId;

    /** 代码 */
    @Excel(name = "代码")
    private String stockCode;

    /** 名称 */
    @Excel(name = "名称")
    private String stockName;

    /** 首板日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "首板日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date firstTime;

    /** 连续涨停天数 */
    @Excel(name = "连续涨停天数")
    private Long limitDays;

    /** 数据创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crteTime;

    /** 数据更新时间 */
    private Date updtTime;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setStockCode(String stockCode) 
    {
        this.stockCode = stockCode;
    }

    public String getStockCode() 
    {
        return stockCode;
    }
    public void setStockName(String stockName) 
    {
        this.stockName = stockName;
    }

    public String getStockName() 
    {
        return stockName;
    }
    public void setFirstTime(Date firstTime) 
    {
        this.firstTime = firstTime;
    }

    public Date getFirstTime() 
    {
        return firstTime;
    }
    public void setLimitDays(Long limitDays) 
    {
        this.limitDays = limitDays;
    }

    public Long getLimitDays() 
    {
        return limitDays;
    }
    public void setCrteTime(Date crteTime) 
    {
        this.crteTime = crteTime;
    }

    public Date getCrteTime() 
    {
        return crteTime;
    }
    public void setUpdtTime(Date updtTime) 
    {
        this.updtTime = updtTime;
    }

    public Date getUpdtTime() 
    {
        return updtTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("stockCode", getStockCode())
            .append("stockName", getStockName())
            .append("firstTime", getFirstTime())
            .append("limitDays", getLimitDays())
            .append("crteTime", getCrteTime())
            .append("updtTime", getUpdtTime())
            .toString();
    }
}
